<?php
/**
 * Enter description here ...
 * @author NgoAnhTu
 * @date 2013-11-01
 * @table(attachdetail)
 */
final class AttachDetail extends Entity {
	
	/**
	 * Type of File
	 * @column(Type)
	 * @type(number)
	 * Ex: 0/1 > 0:not img / 1:img
	 */
	public $type;
		
	/**
	 * Thumbnail 
	 * @column(Thumb)
	 * @type(string)
	 */
	public $thumb;
	
	/**
	 * Medium of Picture
	 * @column(Medium)
	 * @type(string)
	 */
	public $medium;
	
	/**
	 * Image of Picture
	 * @column(Image)
	 * @type(string)
	 */
	public $image;
	
	/**
	 * Attachment ID
	 * @column(AttachmentID)
	 * @type(number)
	 */
	public $attachmentId;
	
	/**
	 * Constructor
	 * @param integer $id
	 * @param string $thumb
	 * @param string $medium
	 * @param string $image
	 * @param integer $attachmentId
	 */
	public function AttachDetail($id = 0, $thumb = '', $medium = '', $image = '', $attachmentId = 0) {
		$this->id = $id;
		$this->thumb = $thumb;
		$this->medium = $medium;
		$this->image = $image;
		$this->attachmentId = $attachmentId;
	}
	
}
?>